package router

import (
	"zsc-boot/app/customer/api"
	"zsc-boot/core/web"
)

func InitCustomerChannelRouterGroup() {
	customerChannelApi := new(api.CustomerChannel)
	customerChannel := web.GetGin().Group("/customerChannel")
	customerChannel.POST("", customerChannelApi.Create)
	customerChannel.DELETE("", customerChannelApi.Del)
	customerChannel.PUT("", customerChannelApi.Update)
	customerChannel.GET("/list", customerChannelApi.List)
	customerChannel.GET("", customerChannelApi.Detail)
}
